﻿using System;
using System.Collections.Generic;
using System.Text;

namespace NetMicro.EventBus.Attributes
{
    /// <summary>
    /// 事件处理器名称定义
    /// </summary>
    [AttributeUsage(AttributeTargets.Class)]
    public class EventHandlerAttribute : Attribute
    {
        public EventHandlerAttribute(string name)
        {
            Name = name;
        }
        /// <summary>
        /// 处理器名称
        /// </summary>
        public string Name { get; set; }
    }
}
